package com.neusoft.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.neusoft.dao.book_reviewsDao;
import com.neusoft.service.book_reviewsService;
@Service
public class book_reviewsServiceImpl implements book_reviewsService {
	@Autowired
	private book_reviewsDao brd;
	
	@Transactional(propagation=Propagation.REQUIRED)
	@Override
	public Integer deletepinglun(Integer book_id) {
		// TODO Auto-generated method stub
		Integer result=brd.deletepinglun(book_id);
		return result;
	}

}
